package org.jeecg.modules.wlhy.hypfaccount.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.wlhy.hypfaccount.entity.HyPfAccount;

import java.util.List;
import java.util.Set;

/**
 * @Description: hy_pf_account
 * @Author: jeecg-boot
 * @Date:   2022-05-30
 * @Version: V1.0
 */
public interface IHyPfAccountService extends IService<HyPfAccount> {

    HyPfAccount getByUidAndUtype(String uid, String utype);

    HyPfAccount getCustomerAccount(String customerId);

    HyPfAccount getDriverAccount(String driverId);
    HyPfAccount getCarrierAccount(String carrierId);
    HyPfAccount getCompanyAccount(String companyId);

    List<HyPfAccount> getDriverAccounts(Set<String> uidSet);
    List<HyPfAccount> getCarrierAccounts(Set<String> uidSet);
    List<HyPfAccount> getCompanyAccounts(Set<String> uidSet);
}
